package effective_java.design_pattern.decorator;

/**
 * 炒面
 *
 * @author Verlet
 * @date 2023-09-06 01:26
 */
public class FiredNoodles extends FastFood{

    public FiredNoodles() {
        super(12,"炒面");
    }

    public FiredNoodles(float price, String desc) {
        super(price, desc);
    }

    @Override
    public float cost() {
        return getPrice();
    }
}
